﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KnowlegeAssistant
{
    class Answer
    {
        private int answer_id;
        private string description;
        private Question question;
        private bool true_answer;

        public Answer(int answer_id, string description, Question question, bool true_answer)
        {
            this.answer_id = answer_id;
            this.question = question;
            this.description = description;
            this.true_answer = true_answer;
        }

        public int AnswerID
        {
            get { return this.answer_id; }
            set { this.answer_id = value; }
        }

        public string Description
        {
            get { return this.description; }
            set { this.description = value; }
        }

        public Question Question
        {
            get { return this.question; }
            set { this.question = value; }
        }

        public bool True
        {
            get { return this.true_answer; }
            set { this.true_answer = value; }
        }

        public bool Checked
        { get; set; }

        public bool ToDelete
        { get; set; }
    }
}
